package com.alu4r.atcrowdfunding.manager.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@Controller
@RequestMapping("/advert")
public class AdvertToPageController {

    @RequestMapping("toIndex")
    public String toIndex(){
        System.out.println("进入到广告管理模块");
        return "advert/index";
    }


    @RequestMapping("toAdd")
    public String toAdd(){
        System.out.println("进入到广告管理模块");
        return "advert/add";
    }
}
